﻿<%@ Page Language="C#" CodeFile="UploadX.aspx.cs" Inherits="Tools_UploadX" Title="<%$ Resources:DatabaseStrings, UploadFile %>" %>

<%@ Register Namespace="CustomControlsNS" TagPrefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>Untitled Page</title>
	<link href="../Styles/upload.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<form id="form1" runat="server">
	<asp:ScriptManager ID="scriptManager" runat="server" EnablePageMethods="true" />

	<script src="../Scripts/UploadX.js" type="text/javascript"></script>

	<script type="text/javascript">
		var g_str_checkExtensions = '<% =Resources.DatabaseStrings.checkExtensions %>';
		var g_str_checkEmpty = '<% =Resources.DatabaseStrings.checkEmpty %>';
		var g_str_initializing = '<% =Resources.DatabaseStrings.initializing %>';
	</script>

	<div>
		<div class="upload">
			<h3>
				<% = Resources.DatabaseStrings.FileUpload%></h3>
			<div id="uploadX">
				<iframe id="uploadFrame" frameborder="0" scrolling="no" src="ContentUploadX.aspx">
				</iframe>
				 <ajaxToolKit:ProgressControl ID="progress" runat="server" CssClass="vista" Style="display: none"
                    Value="0" Mode="Manual" Speed=".4" Width="100%" />
				<div>
					<div id="status" class="info">
						<% = Resources.DatabaseStrings.SelectFile%>
					</div>
					<br />
					<br />
					<div class="commands">
						<input id="upload" type="button" value="Upload" />
						<asp:Button ID="btnClose" runat="server" Text="<%$ Resources:DatabaseStrings, CloseWindow %>"
							OnClientClick="window.close();return false;" />
						<asp:Button ID="btnReset" runat="server" Text="<%$ Resources:DatabaseStrings, ResetForm %>"
							OnClientClick="refresh();return false;" />
					</div>
					<br />
					<br />
					<br />
					<br />
					<br />
					<br />
					<br />
					<br />
					<div>
						<center>
							<% = Resources.DatabaseStrings.WarningUpload%>
						</center>
					</div>
				</div>
			</div>
		</div>
		<br />
	</div>
	</form>
</body>
</html>
